package com.mkjb.dto;


import com.mkjb.entity.User;
import com.mkjb.utils.Page;

import java.util.List;

/**
 * Created by DingJie on 2017/4/1.
 */
public class UserListDto extends Page<UserDto> {
    private String username;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public void addAllList(List itemList) {
        for (Object item : itemList) {
            list.add(new UserDto((User) item));
        }
    }
}
